<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<h1 style="text-align: center;">万达影城7号厅</h1>
			<table>
			<script>
				for(var i=1;i<=4;i++)
				{
					document.write("<tr height='70'>");
					for(var j=1;j<=10;j++)
					{
						if(i==1&&j==6)
						{
								document.write("<td align='center' width='80' background='yes.png'>");
								document.write("已售");
								document.write("</td>");
						}
						else if(i==4&&j==9)
						{
								document.write("<td align='center' width='80' background='yes.png'>");
								document.write("已售");
								document.write("</td>");
						}
						else
						{
						document.write("<td align='center' width='80' background='no.png'>");
						document.write(i+"排"+j+"座");
						document.write("</td>");
						}
					}
					document.write("</tr>");
				}
				
			</script>
			</table>
	</body>
</html>
